aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapsho...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-07-06 18:24:47 +0100
committerMichael Williamson <mike@zwobble.org>2023-07-06 18:24:47 +0100
commitdf888d6cce6a31e55eac4e21ccd496ce6023dfeb (patch)
treec8c62f9307aa737c8d2289449422e4e31314b916 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent163460c063814f659713ceed417e5f0be4a800d0 (diff)
Add int-equals instruction
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected10
1 files changed, 10 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..2bccb04c
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,10 @@
+Stack:
+ * %tmp__1
+ * %a
+
+Module:
+define void @f() {
+ %tmp__0 = icmp eq i64 %b, %c
+ %tmp__1 = zext i1 %tmp__0 to i64
+ ret void
+}